import React from 'react';
import { axconst } from '@/shared/axconst';
import FormItem from 'antd/lib/form/FormItem';
import './style.css';

const { inlineFormItemLayout } = axconst;
/** 占位FromItem */
export const AxPlaceHolder: React.FC<any> = props => (
  <FormItem {...inlineFormItemLayout}>
    <span>&nbsp;</span>
  </FormItem>
);

/**  margin-bottom:0px 的占位FromItem */
export const AxPlaceHolderNoMarginBottom: React.FC<any> = props => (
  <FormItem className="ant-form-item-ax" {...inlineFormItemLayout}>
    <span>&nbsp;</span>
  </FormItem>
);
